package com.san.base.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.san.base.domain.DictDO;

/**
 * 字典表
 * 
 */
@Mapper
public interface DictDao extends BaseDao{

	DictDO getById(Long id);

	List<DictDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(DictDO dict);

	int update(DictDO dict);

	int remove(Long id);

	int batchRemove(Long[] ids);

	List<DictDO> listType();
	
	List<DictDO> getBusiType();
	
	List<DictDO> getBusiTypeNode(Long parentId);
	
	List<DictDO> getByValue(String value);
}
